Nextend\Framework\Asset\Css\Less\LessCompiler D

Total Complexity 437
Dependencies 6
Dependents 3
Total lines 2,192
Lines of code 1,479
Logical lines of code 968
Comment lines 176
Methods 109
Properties 17

Methods 109

Method Rating Maintainability Complexity Lines of code
reduce()
D
31 31 114
compileProp()
C
32 26 97
patternMatch()
B
41 20 57
funcToColor()
B
43 19 43
compileValue()
B
41 18 50
tryImport()
A
43 13 45
evaluate()
A
45 12 42
op_number_number()
A
46 12 37
cachedCompile()
A
50 12 29
op_color_color()
A
49 11 29
findBlocks()
A
50 11 28
compileMediaQuery()
A
49 9 31
coerceColor()
A
46 8 41
toHSL()
A
51 9 25
zipSetArgs()
A
50 8 27
sortProps()
A
49 7 35
multiplyMedia()
A
55 8 20
lib__sprintf()
S
50 7 27
lib_mix()
S
52 6 23
compileBlock()
S
53 6 22
multiplySelectors()
S
55 6 21
get()
S
57 6 17
toRGB()
S
52 5 23
lib_e()
S
56 5 20
parse()
S
56 5 20
toRGB_helper()
S
66 6 7
lib_contrast()
S
55 4 22
findImport()
S
63 5 9
stringConcatenate()
S
61 4 13
injectVariables()
S
59 4 13
colorArgs()
S
56 3 20
compileMedia()
S
55 3 19
compileFile()
S
57 3 17
mediaParent()
S
65 4 9
fixColor()
S
67 4 7
coerceString()
S
62 3 13
findClosestSelectors()
S
63 3 12
compileSelectors()
S
62 3 12
compile()
S
57 2 17
lib_unit()
S
59 2 16
compressList()
S
68 3 7
patternMatchAll()
S
65 3 9
lib_rgbahex()
S
69 3 5
lib_alpha()
S
71 3 5
flattenList()
S
69 3 6
op_number_color()
S
72 3 5
checkedCompile()
S
68 3 7
compileImportedProps()
S
63 2 11
compileProps()
S
72 2 5
expandParentSelectors()
S
63 2 10
lib_ispixel()
S
77 2 3
lib_ispercentage()
S
77 2 3
lib_isem()
S
77 2 3
lib_isrem()
S
77 2 3
lib_spin()
S
66 2 7
lib_fadeout()
S
70 2 5
lib_fadein()
S
70 2 5
assertColor()
S
72 2 5
assertNumber()
S
74 2 4
toBool()
S
79 2 3
op_color_number()
S
72 2 4
lib_red()
S
69 2 7
lib_green()
S
69 2 7
lib_blue()
S
69 2 7
__construct()
S
74 2 5
throwError()
S
71 2 6
ccompile()
S
70 2 6
cexecute()
S
70 2 6
fileExists()
S
80 1 3
preg_quote()
S
79 1 3
compileCSSBlock()
S
63 1 10
compileNestedBlock()
S
67 1 8
compileRoot()
S
71 1 6
eq()
S
80 1 3
lib_isnumber()
S
78 1 3
lib_isstring()
S
78 1 3
lib_iscolor()
S
80 1 3
lib_iskeyword()
S
78 1 3
lib_argb()
S
80 1 3
lib_floor()
S
68 1 8
lib_ceil()
S
68 1 8
lib_round()
S
68 1 8
lib_darken()
S
69 1 6
lib_lighten()
S
69 1 6
lib_saturate()
S
69 1 6
lib_desaturate()
S
69 1 6
lib_hue()
S
75 1 4
lib_saturation()
S
75 1 4
lib_lightness()
S
75 1 4
lib_fade()
S
71 1 5
lib_percentage()
S
68 1 8
clamp()
S
78 1 3
makeOutputBlock()
S
66 1 9
pushEnv()
S
68 1 8
popEnv()
S
74 1 5
set()
S
80 1 3
makeParser()
S
73 1 5
setFormatter()
S
81 1 3
newFormatter()
S
81 1 3
setPreserveComments()
S
81 1 3
registerFunction()
S
80 1 3
unregisterFunction()
S
80 1 3
setVariables()
S
79 1 3
getVariables()
S
82 1 3
unsetVariable()
S
80 1 3
setImportDir()
S
80 1 3
addImportDir()
S
77 1 4
allParsedFiles()
S
82 1 3
addParsedFile()
S
79 1 3